<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: cy_stc_pdm_pcm_channel_config_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('structcy__stc__pdm__pcm__channel__config__t.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">cy_stc_pdm_pcm_channel_config_t Struct Reference<div class="ingroups"><a class="el" href="group__group__pdm__pcm__v2.html">PDM_PCM_v2   (PDM-PCM Converter v2)</a> &raquo; <a class="el" href="group__group__pdm__pcm__data__structures__v2.html">Data Structures</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Description</h2>
<div class="textblock"><p>PDM-PCM Channel initialization configuration. </p>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:ae8dbefcdb3ab94cfc715c16bce0b22d1"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__pdm__pcm__channel__config__t.html#ae8dbefcdb3ab94cfc715c16bce0b22d1">sampledelay</a></td></tr>
<tr class="memdesc:ae8dbefcdb3ab94cfc715c16bce0b22d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Interface sample delay.  <a href="#ae8dbefcdb3ab94cfc715c16bce0b22d1">More...</a><br /></td></tr>
<tr class="separator:ae8dbefcdb3ab94cfc715c16bce0b22d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82620ac296c4f2ee40f8a0405acdab59"><td class="memItemLeft" align="right" valign="top"><a id="a82620ac296c4f2ee40f8a0405acdab59"></a>
<a class="el" href="group__group__pdm__pcm__enums__v2.html#ga537097d1909b17b620a7356ac48d056a">cy_en_pdm_pcm_word_size_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__pdm__pcm__channel__config__t.html#a82620ac296c4f2ee40f8a0405acdab59">wordSize</a></td></tr>
<tr class="memdesc:a82620ac296c4f2ee40f8a0405acdab59"><td class="mdescLeft">&#160;</td><td class="mdescRight">see <a class="el" href="group__group__pdm__pcm__enums__v2.html#ga537097d1909b17b620a7356ac48d056a" title="PDM Word Length. ">cy_en_pdm_pcm_word_size_t</a> <br /></td></tr>
<tr class="separator:a82620ac296c4f2ee40f8a0405acdab59"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5691f9f04530b4999a2058b3401e52f9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__pdm__pcm__channel__config__t.html#a5691f9f04530b4999a2058b3401e52f9">signExtension</a></td></tr>
<tr class="memdesc:a5691f9f04530b4999a2058b3401e52f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Word extension type:  <a href="#a5691f9f04530b4999a2058b3401e52f9">More...</a><br /></td></tr>
<tr class="separator:a5691f9f04530b4999a2058b3401e52f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8b5d7cf859b23b0e543171e39a02005"><td class="memItemLeft" align="right" valign="top"><a id="ad8b5d7cf859b23b0e543171e39a02005"></a>
uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__pdm__pcm__channel__config__t.html#ad8b5d7cf859b23b0e543171e39a02005">rxFifoTriggerLevel</a></td></tr>
<tr class="memdesc:ad8b5d7cf859b23b0e543171e39a02005"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fifo interrupt trigger level (in words), range: 0 - 63. <br /></td></tr>
<tr class="separator:ad8b5d7cf859b23b0e543171e39a02005"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1e5cae4c6b86970ab7f632d4540fbce"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__pdm__pcm__channel__config__t.html#ad1e5cae4c6b86970ab7f632d4540fbce">fir0_enable</a></td></tr>
<tr class="memdesc:ad1e5cae4c6b86970ab7f632d4540fbce"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIR 0 filter coefficient enable (does NOT effect FIR filter scaling and FIR filter decimation):  <a href="#ad1e5cae4c6b86970ab7f632d4540fbce">More...</a><br /></td></tr>
<tr class="separator:ad1e5cae4c6b86970ab7f632d4540fbce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5778b5f3e56face740cdbb09974e6b3b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__pdm__pcm__enums__v2.html#gaa43345298364b2951b275e21ded1b454">cy_en_pdm_pcm_ch_cic_decimcode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__pdm__pcm__channel__config__t.html#a5778b5f3e56face740cdbb09974e6b3b">cic_decim_code</a></td></tr>
<tr class="memdesc:a5778b5f3e56face740cdbb09974e6b3b"><td class="mdescLeft">&#160;</td><td class="mdescRight">CIC filter decimation.  <a href="#a5778b5f3e56face740cdbb09974e6b3b">More...</a><br /></td></tr>
<tr class="separator:a5778b5f3e56face740cdbb09974e6b3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af34a08fb342cd19e80035ccc9f363a0c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__pdm__pcm__enums__v2.html#gaf32821b068ff1292891ad11066bd9d4c">cy_en_pdm_pcm_ch_fir0_decimcode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__pdm__pcm__channel__config__t.html#af34a08fb342cd19e80035ccc9f363a0c">fir0_decim_code</a></td></tr>
<tr class="memdesc:af34a08fb342cd19e80035ccc9f363a0c"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIR filter decimation.  <a href="#af34a08fb342cd19e80035ccc9f363a0c">More...</a><br /></td></tr>
<tr class="separator:af34a08fb342cd19e80035ccc9f363a0c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4020156c6aa11c6d390c7f2063a73ac"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__pdm__pcm__channel__config__t.html#ae4020156c6aa11c6d390c7f2063a73ac">fir0_scale</a></td></tr>
<tr class="memdesc:ae4020156c6aa11c6d390c7f2063a73ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIR 0 filter PCM scaling.  <a href="#ae4020156c6aa11c6d390c7f2063a73ac">More...</a><br /></td></tr>
<tr class="separator:ae4020156c6aa11c6d390c7f2063a73ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c7c8c96d9cd03462246dc4477c7eec8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__pdm__pcm__enums__v2.html#ga2b59920bd0f1a3b4051da1f358d502db">cy_en_pdm_pcm_ch_fir1_decimcode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__pdm__pcm__channel__config__t.html#a8c7c8c96d9cd03462246dc4477c7eec8">fir1_decim_code</a></td></tr>
<tr class="memdesc:a8c7c8c96d9cd03462246dc4477c7eec8"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIR filter decimation.  <a href="#a8c7c8c96d9cd03462246dc4477c7eec8">More...</a><br /></td></tr>
<tr class="separator:a8c7c8c96d9cd03462246dc4477c7eec8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b65dbb6be40427755670c954970ef62"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__pdm__pcm__channel__config__t.html#a9b65dbb6be40427755670c954970ef62">fir1_scale</a></td></tr>
<tr class="memdesc:a9b65dbb6be40427755670c954970ef62"><td class="mdescLeft">&#160;</td><td class="mdescRight">FIR 1 filter PCM scaling.  <a href="#a9b65dbb6be40427755670c954970ef62">More...</a><br /></td></tr>
<tr class="separator:a9b65dbb6be40427755670c954970ef62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9fb36049dbb9778975524327a7c47093"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__pdm__pcm__channel__config__t.html#a9fb36049dbb9778975524327a7c47093">dc_block_disable</a></td></tr>
<tr class="memdesc:a9fb36049dbb9778975524327a7c47093"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables DC BLOCK if set to true.  <a href="#a9fb36049dbb9778975524327a7c47093">More...</a><br /></td></tr>
<tr class="separator:a9fb36049dbb9778975524327a7c47093"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a296aeba2cb1055949e6a4c7bfcba8eab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__pdm__pcm__enums__v2.html#gac55eec2f1536ad7fc1ce84b85d47623b">cy_en_pdm_pcm_ch_dcblock_coef_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcy__stc__pdm__pcm__channel__config__t.html#a296aeba2cb1055949e6a4c7bfcba8eab">dc_block_code</a></td></tr>
<tr class="memdesc:a296aeba2cb1055949e6a4c7bfcba8eab"><td class="mdescLeft">&#160;</td><td class="mdescRight">DC blocker coefficient.  <a href="#a296aeba2cb1055949e6a4c7bfcba8eab">More...</a><br /></td></tr>
<tr class="separator:a296aeba2cb1055949e6a4c7bfcba8eab"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Field Documentation</h2>
<a id="ae8dbefcdb3ab94cfc715c16bce0b22d1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae8dbefcdb3ab94cfc715c16bce0b22d1">&#9670;&nbsp;</a></span>sampledelay</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t cy_stc_pdm_pcm_channel_config_t::sampledelay</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Interface sample delay. </p>
<p>This field specifies when a PDM value is captured. The value that user assigns here will be incremented by 1 and assigned internally </p>

</div>
</div>
<a id="a5691f9f04530b4999a2058b3401e52f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5691f9f04530b4999a2058b3401e52f9">&#9670;&nbsp;</a></span>signExtension</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cy_stc_pdm_pcm_channel_config_t::signExtension</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Word extension type: </p>
<ul>
<li>0: extension by zero</li>
<li>1: extension by sign bits </li>
</ul>

</div>
</div>
<a id="ad1e5cae4c6b86970ab7f632d4540fbce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1e5cae4c6b86970ab7f632d4540fbce">&#9670;&nbsp;</a></span>fir0_enable</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cy_stc_pdm_pcm_channel_config_t::fir0_enable</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>FIR 0 filter coefficient enable (does NOT effect FIR filter scaling and FIR filter decimation): </p>
<ul>
<li>0: Disabled</li>
<li>1: Enabled </li>
</ul>

</div>
</div>
<a id="a5778b5f3e56face740cdbb09974e6b3b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5778b5f3e56face740cdbb09974e6b3b">&#9670;&nbsp;</a></span>cic_decim_code</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__pdm__pcm__enums__v2.html#gaa43345298364b2951b275e21ded1b454">cy_en_pdm_pcm_ch_cic_decimcode_t</a> cy_stc_pdm_pcm_channel_config_t::cic_decim_code</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>CIC filter decimation. </p>
<p>The CIC filter PCM frequency is a fraction of the PDM frequency. <a class="el" href="group__group__pdm__pcm__enums__v2.html#gaa43345298364b2951b275e21ded1b454">cy_en_pdm_pcm_ch_cic_decimcode_t</a> </p>

</div>
</div>
<a id="af34a08fb342cd19e80035ccc9f363a0c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af34a08fb342cd19e80035ccc9f363a0c">&#9670;&nbsp;</a></span>fir0_decim_code</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__pdm__pcm__enums__v2.html#gaf32821b068ff1292891ad11066bd9d4c">cy_en_pdm_pcm_ch_fir0_decimcode_t</a> cy_stc_pdm_pcm_channel_config_t::fir0_decim_code</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>FIR filter decimation. </p>
<p>The FIR filter PCM frequency is a fraction of the CIC filter PCM frequency. <a class="el" href="group__group__pdm__pcm__enums__v2.html#gaf32821b068ff1292891ad11066bd9d4c">cy_en_pdm_pcm_ch_fir0_decimcode_t</a> </p>

</div>
</div>
<a id="ae4020156c6aa11c6d390c7f2063a73ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae4020156c6aa11c6d390c7f2063a73ac">&#9670;&nbsp;</a></span>fir0_scale</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t cy_stc_pdm_pcm_channel_config_t::fir0_scale</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>FIR 0 filter PCM scaling. </p>
<p>range 0-31 </p>

</div>
</div>
<a id="a8c7c8c96d9cd03462246dc4477c7eec8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c7c8c96d9cd03462246dc4477c7eec8">&#9670;&nbsp;</a></span>fir1_decim_code</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__pdm__pcm__enums__v2.html#ga2b59920bd0f1a3b4051da1f358d502db">cy_en_pdm_pcm_ch_fir1_decimcode_t</a> cy_stc_pdm_pcm_channel_config_t::fir1_decim_code</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>FIR filter decimation. </p>
<p>The FIR filter PCM frequency is a fraction of the FIR0 filter PCM frequency. <a class="el" href="group__group__pdm__pcm__enums__v2.html#ga2b59920bd0f1a3b4051da1f358d502db">cy_en_pdm_pcm_ch_fir1_decimcode_t</a> </p>

</div>
</div>
<a id="a9b65dbb6be40427755670c954970ef62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b65dbb6be40427755670c954970ef62">&#9670;&nbsp;</a></span>fir1_scale</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t cy_stc_pdm_pcm_channel_config_t::fir1_scale</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>FIR 1 filter PCM scaling. </p>
<p>range 0 to 31 </p>

</div>
</div>
<a id="a9fb36049dbb9778975524327a7c47093"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9fb36049dbb9778975524327a7c47093">&#9670;&nbsp;</a></span>dc_block_disable</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool cy_stc_pdm_pcm_channel_config_t::dc_block_disable</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disables DC BLOCK if set to true. </p>
<p>This is for debug only. To be used for test modes 0,1 and 2 in test config ie. if the input is constant 0's or constant 1's or alternating 0's and 1's </p>

</div>
</div>
<a id="a296aeba2cb1055949e6a4c7bfcba8eab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a296aeba2cb1055949e6a4c7bfcba8eab">&#9670;&nbsp;</a></span>dc_block_code</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__pdm__pcm__enums__v2.html#gac55eec2f1536ad7fc1ce84b85d47623b">cy_en_pdm_pcm_ch_dcblock_coef_t</a> cy_stc_pdm_pcm_channel_config_t::dc_block_code</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>DC blocker coefficient. </p>
<p><a class="el" href="group__group__pdm__pcm__enums__v2.html#gac55eec2f1536ad7fc1ce84b85d47623b">cy_en_pdm_pcm_ch_dcblock_coef_t</a> </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
